package com.hmy.equipment.mapper;

import com.hmy.equipment.domain.HmyGas;

import java.util.List;

/**
 * 气体检测仪 数据层
 * @author yyh
 */
public interface HmyGasMapper {

    /**
     * 添加气体检测仪
     * @param gas
     * @return
     */
    public int addGas(HmyGas gas);

    /**
     * 根据检测仪列表查询
     * @param gas
     * @return
     */
    public List<HmyGas> selectGasList(HmyGas gas);

    /**
     * 修改单个检测仪
     * @param gas 气体检测仪实体类
     * @return
     */
    public int editGas(HmyGas gas);

    /**
     * 删除检测仪，根据id
     * @param ids id
     * @return
     */
    public int delGas(long[] ids);

    HmyGas selectGasListById(Long id);
}
